package service.impl;

import mapper.Usermapper;
import org.springframework.stereotype.Service;
import pojo.DevUser;
import service.Userservice;

import javax.annotation.Resource;

/**
 * Created by dell on 2019/1/17.
 */
@Service
public class Userserviceimpl implements Userservice{
@Resource
    public Usermapper usermapper;

    @Override
    public DevUser login(String devName, String devPassword, String devCode) {
        return usermapper.login(devName,devPassword,devCode);
    }

    @Override
    public int addUser(DevUser devUser) {
        return 0;
    }
}
